using System;
using System.Collections.Generic;
using System.Text;
using NETL.Engine.Data;

namespace NETL.Engine.Destination
{
	public delegate void DestinationCompleted(IMessageDestination destination, ExecutionResult result);

	public interface IMessageDestination
	{
		event DestinationCompleted Completed;

		string Name
		{
			get;
			set;
		}

		//string Description
		//{
		//    get;
		//    set;
		//}

		void Execute(IMessage message);

		ExecutionResult Test();
	}
}